﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FHExport.aspx.cs" Inherits="RenShiKaoQin.Account.FHExport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager" runat="server" EnableScriptGlobalization="true"
        EnableScriptLocalization="true">
    </ajaxToolkit:ToolkitScriptManager>
    <div style="margin-top:80px" align="center">
    <table><tr align="left"><td>选择导出条件：</td><td>院区<asp:DropDownList ID="ddlRegion" runat="server">
            <asp:ListItem Value="99">未选择</asp:ListItem>
            <asp:ListItem Value="0102">医院本部</asp:ListItem>
            <asp:ListItem Value="03">东区</asp:ListItem>
            <asp:ListItem Value="06">西海岸</asp:ListItem>
        </asp:DropDownList></td><td>工作岗位<asp:DropDownList ID="ddlPost" runat="server">
            <asp:ListItem Value="99">未选择</asp:ListItem>
            <asp:ListItem Value="0">行政管理岗位</asp:ListItem>
            <asp:ListItem Value="1">医生岗位</asp:ListItem>
            <asp:ListItem Value="2">护士岗位</asp:ListItem>
            <asp:ListItem Value="3">药剂岗位</asp:ListItem>
            <asp:ListItem Value="5">医技岗位</asp:ListItem>
            <asp:ListItem Value="6">其他系列技术岗位</asp:ListItem>
            <asp:ListItem Value="7">工勤岗位</asp:ListItem>
            <asp:ListItem Value="8">其他岗位</asp:ListItem>
        </asp:DropDownList></td><td>  职务<asp:DropDownList ID="ddlHeadship" runat="server">
            <asp:ListItem Value="99">未选择</asp:ListItem>
            <asp:ListItem Value="01">党内任职</asp:ListItem>
            <asp:ListItem Value="04">团内任职</asp:ListItem>
            <asp:ListItem Value="05">行政任职</asp:ListItem>
            <asp:ListItem Value="0605">科主任</asp:ListItem>
            <asp:ListItem Value="0608">护士</asp:ListItem>
        </asp:DropDownList></td>
    </tr>
    <tr align="left"><td>
    选择导出时间段：</td><td>从<asp:TextBox
        ID="tbStart" runat="server" Width="120px" EnableViewState="False" 
        ViewStateMode="Disabled"></asp:TextBox><ajaxToolkit:CalendarExtender ID="caltbStart"
            TargetControlID="tbStart" runat="server" Format="yyyy-MM-dd" DefaultView="Months">
        </ajaxToolkit:CalendarExtender></td>
    <td>至<asp:TextBox ID="tbEnd" runat="server" Width="120px" EnableViewState="False" 
        ViewStateMode="Disabled"></asp:TextBox><ajaxToolkit:CalendarExtender
        ID="CalendarExtender1" TargetControlID="tbEnd" runat="server" Format="yyyy-MM-dd"
        DefaultView="Months">
    </ajaxToolkit:CalendarExtender></td>
    <td><asp:Button ID="btnSearch" runat="server"  Width="60px" Text="查询" 
        onclick="btnSearch_Click" /></td></tr><tr><td colspan="2"><asp:Button ID="btnExport" runat="server" 
            Text="导出查询结果" onclick="btnExport_Click" /></td>
        <td colspan="2"><asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl="~/Account/FHForm.aspx" Text="返回"></asp:HyperLink></td></tr></table>
            <div style="margin-top:20px">
    <asp:GridView ID="gvSPExport" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="SerialNO" 
        EmptyDataText="没有符合条件的数据" CellPadding="4" ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="EmployeeName" HeaderText="姓名" 
                SortExpression="EmployeeName" />
            <asp:BoundField DataField="TypeName" HeaderText="请假类型" 
                SortExpression="TypeName" />
            <asp:BoundField DataField="StartDate" HeaderText="开始时间" 
                SortExpression="StartDate" DataFormatString="{0:D}" />
            <asp:BoundField DataField="EndDate" HeaderText="结束时间" 
                SortExpression="EndDate" DataFormatString="{0:D}" />
            <asp:BoundField DataField="DeptName" HeaderText="所在科室" 
                SortExpression="DeptName" />
            <asp:BoundField DataField="ExamerName" HeaderText="审批人" 
                SortExpression="ExamerName" />
            <asp:BoundField DataField="CheckerName" HeaderText="复核人" 
                SortExpression="CheckerName" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
            </div>
    </div>
    </form>
</body>
</html>
